<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class AppController extends Controller{
    var $components = array(
        'Auth' => array(
            'authorize' => 'controller',
            'loginRedirect' => array(
                'controller' => 'users',
                'action' => 'index'
            ),
            'loginError' => 'Invalid User',
        ),
        'Session'
        );
}
        function isAuthorized(){
            return true;
}
?>
